package springTest;

import org.springframework.context.support.ClassPathXmlApplicationContext;



public class QuizProgram {

    public static void main(String[] args) {
    	ClassPathXmlApplicationContext ctxt = new ClassPathXmlApplicationContext("beans.xml");
    	
    	QuizMasterService quizMasterService = (QuizMasterService)ctxt.getBean("quizMasterService");
        quizMasterService.askQuestion();
        ctxt.close();
    }

}
